package net.betou.cms.dao.assist;

import java.util.List;

import net.betou.cms.entity.assist.CmsVoteTopic;
import net.betou.common.hibernate3.Updater;
import net.betou.common.page.Pagination;

public interface CmsVoteTopicDao{
	public Pagination getPage( Integer siteId, int pageNo, int pageSize );

	public List< CmsVoteTopic > getList( Boolean def, Integer siteId, int count );

	public CmsVoteTopic getDefTopic( Integer siteId );

	public CmsVoteTopic findById( Integer id );

	public CmsVoteTopic save( CmsVoteTopic bean );

	public CmsVoteTopic updateByUpdater( Updater< CmsVoteTopic > updater );

	public CmsVoteTopic deleteById( Integer id );
}